const games = [
  {
    path: '/home:id',
    redirect: '/home/:id/info',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/index'),
    hidden: true,
    children: [
      // 主页
      {
        path: '/home',
        name: 'Home',
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/home/index'),
        hidden: true,
        meta: { activeMenu: 'Home', haveFooter: true }
      },
      // 赛事主页
      {
        path: '/home/:id/info',
        name: 'HomeGame',
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/home/game/index'),
        hidden: true,
        meta: { activeMenu: 'Home', haveFooter: true }
      }
    ]
  }
];

export default games;
